import React from "react";

const Login = React.lazy(() => import("@/views/login"));
const Layout = React.lazy(() => import("@/layout"));
const NotFoundPage = React.lazy(() => import("@/views/404"));

export const routes = [
  {
    path: "/login",
    component: Login,
    exact: true,
  },
  {
    path: "/",
    component: Layout,
  },
  {
    path: "*",
    component: NotFoundPage,
  },
];
